package com.xqls.service;

import com.xqls.dal.model.Remotecontrol;
import com.xqls.server.dto.SoketCommonDto;
import com.xqls.util.CommonResult;

/**
 * Created by Skeyedu on 2017/3/10.
 */
public interface SokectService {

    public CommonResult sendData(SoketCommonDto soketCommonDto);

    /**
     * 采样仪采样设置
     * @return
     */
    public CommonResult samplingSetSend(Remotecontrol remotecontrol,SoketCommonDto samplingSetDto,String sendType,String remoteType);

    /**
     * 开关阀门指令发送
     * @return
     */
    public CommonResult  sendSwitchValve(String address,Integer anger,String type,Integer rainWaterTime);
   
    /**
     * 关阀门
     */
    public void closeValve(String address);
}
